<extend name="public@base5"/>
<block name="head">
    <link rel="stylesheet" href="__STATIC__/css/mall.css?v={$_static_version}"></link>
    <include file="theme/functions"/>
</block>
<block name="main">
<div class="wrap ">
    <form class="js-ajax-form margin-top-20" role="form" action="{:url('OpSetting/addServicePost')}" method="post">       
        <div class="row mb-3">
            <label for="input-connect_mobile" class="col-sm-2 col-form-label text-sm-end"><span class="form-required">*</span>客服电话</label>
            <div class="col-md-8 col-sm-10">
                <input type="text" class="form-control" id="input-connect_mobile" name="mall[connect_mobile]" value="{$mall.connect_mobile|default=''}">
            </div>
        </div>
        <div class="row mb-3">
            <label for="input-connect_address" class="col-sm-2 col-form-label text-sm-end"><span class="form-required">*</span>客服地址</label>
            <div class="col-md-8 col-sm-10">
                <input type="text" class="form-control" id="input-connect_address" name="mall[connect_address]" value="{$mall.connect_address|default=''}">
            </div>
        </div>
        <div class="row mb-3">
            <label for="input-connect_img" class="col-sm-2 col-form-label text-sm-end"><span class="form-required">*</span>二维码</label>
            <div class="col-md-8 col-sm-10">
                {:_parse_vars($array_item,'mall')}
                <small class="text-muted">{:lang('UPLOAD_SINGLE_IMAGE_FORMAT_500K')}</small>   
            </div>
        </div>
        <div style="text-align: center;">
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-primary js-ajax-submit" data-refresh="1">
                        {:lang('SAVE')}
                    </button>
                </div>
            </div>
        </div>
    </form>
</div>
</block>
<block name="scripts">
    <include file="theme/scripts"/>
</block>
